package com.example.demo.repository.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;

/**
 * <p>
 * 活动
 * </p>
 *
 * @author kin
 * @since 2017-11-30
 */
public class Activity implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 门店Id
     */
	@TableField("stg_id")
	private Integer stgId;
    /**
     * 名称
     */
	private String name;
    /**
     * 0 送券活动
     */
	private Integer type;
    /**
     * 状态：0 停止 1 开放
     */
	private Integer status;
	@TableField("activity_url")
	private String activityUrl;
    /**
     * 参加限制：0 无限制 大于0 最多允许的参加次数
     */
	@TableField("join_limit")
	private Integer joinLimit;
    /**
     * 券分类Id
     */
	@TableField("coupon_category_id")
	private Integer couponCategoryId;
    /**
     * 分享券分类Id
     */
	@TableField("share_couponcat_id")
	private Integer shareCouponcatId;
    /**
     * 分享名称
     */
	@TableField("share_name")
	private String shareName;
    /**
     * 分享备注
     */
	@TableField("share_remark")
	private String shareRemark;
    /**
     * 备注
     */
	private String remark;
	@TableField("create_admin")
	private Integer createAdmin;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getStgId() {
		return stgId;
	}

	public void setStgId(Integer stgId) {
		this.stgId = stgId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getActivityUrl() {
		return activityUrl;
	}

	public void setActivityUrl(String activityUrl) {
		this.activityUrl = activityUrl;
	}

	public Integer getJoinLimit() {
		return joinLimit;
	}

	public void setJoinLimit(Integer joinLimit) {
		this.joinLimit = joinLimit;
	}

	public Integer getCouponCategoryId() {
		return couponCategoryId;
	}

	public void setCouponCategoryId(Integer couponCategoryId) {
		this.couponCategoryId = couponCategoryId;
	}

	public Integer getShareCouponcatId() {
		return shareCouponcatId;
	}

	public void setShareCouponcatId(Integer shareCouponcatId) {
		this.shareCouponcatId = shareCouponcatId;
	}

	public String getShareName() {
		return shareName;
	}

	public void setShareName(String shareName) {
		this.shareName = shareName;
	}

	public String getShareRemark() {
		return shareRemark;
	}

	public void setShareRemark(String shareRemark) {
		this.shareRemark = shareRemark;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getCreateAdmin() {
		return createAdmin;
	}

	public void setCreateAdmin(Integer createAdmin) {
		this.createAdmin = createAdmin;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "Activity{" +
			", id=" + id +
			", stgId=" + stgId +
			", name=" + name +
			", type=" + type +
			", status=" + status +
			", activityUrl=" + activityUrl +
			", joinLimit=" + joinLimit +
			", couponCategoryId=" + couponCategoryId +
			", shareCouponcatId=" + shareCouponcatId +
			", shareName=" + shareName +
			", shareRemark=" + shareRemark +
			", remark=" + remark +
			", createAdmin=" + createAdmin +
			", createTime=" + createTime +
			"}";
	}
}
